<%@ page import="shopping.Action"%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%
	String id = "";
	request.setCharacterEncoding("utf-8");

	id = (String) request.getParameter("id");//获取商品编码
	Action action = new Action();
	action.addGoods(Integer.parseInt(id));//把商品添加进数组
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<title>My JSP 'success.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<link href="css/enter-interface.css" rel="stylesheet" type="text/css" />
<%--调用背景格式--%>
<style>
div {
	height: 500px;
	width: 400px;
	text-align: center;
	margin: 0px auto;
}

img {
	margin-top: 100px;
	margin-right: 150px;
}

span {
	height: 100%;
	display: inline-block;
	vertical-align: middle;
}
</style>
</head>
<body>
	<center>添加成功！</center>



	<div class="car-center">
		<img src="picture/26.png" />
	</div>

	<center>
		<a href="showgoods.jsp?">返回商品页</a> <a href="account.jsp?">进入购物车</a>
	</center>

</body>
</html>